ACM
 commands
 events
 error
Picture
 commands

AboutBox ( ) shows about box

Authorize ( Name, Password ) enter the license name and password
OK ReturnValue = 0 else 5

ReturnValue = ACM.Authorize(``Password", ``Keyword")

Convert () Starts the selected ACM-Driver to convert the specified Input-File to the wished OutputFormat. Before all parameters have to be set. If no correct Input-File is given or the format is not possible, the converting-procedure will not be started and returns FALSE. If there is an error while Converting, the Converting-routines returns FALSE.

GetFormat (FormatNumber) Returns the Name of the with FormatNumber specified Format, for example ``8.000 Hz; 8 Bit; Mono". If the FormatNumber is to high, the command will return the Value 701. With GetFormatsCount () you can get the number of Formats.

GetFormatsCount () Returns the number of possible Formats to a specified ACM-Driver and selected Format-Tag.

GetFormatTagsCount () Returns the number of FormatTags to a before with SelectACMDriver (ACMDriverNumber) specified ACMDriver.

GetFormatTag (FormatTagNumber) Returns the Name of a with FormatTagNumber specified Format, for example ``Microsoft ADPCM".

GetSelectACMDriver () Returns the selected ACMDriver.

GetNameACM (ACMDriverNumber) Returns the name of a with  ACMDriverNumber specified ACMDriver. The number of ACMDrivers you can get with GetNUMACMs ()

GetNumACMs () Returns the number of the in the system existing ACM-Drivers.

GetSelectFormat () Returns the selected Format.

GetSelectFormatTags () Returns the selected Formatag.

GetVersion (). Returns the Version of this OCX.

InConvert (). While the Converting-Thread is active, this call will return TRUE, else FALSE.

SetFormat (FormatNumber) Use this Call to specify a whished Format. Before you have to specify an Input-File with SetInputFile (Input-File). !!! If the FormatNumber is to high, this Call will return Value 701. If the format is otherwise not possible, this Call will return Value 705.

SetFormatTags (FormatTagNumber) Use this Call to specify a wished Format-Tag, if FormatTagNumber is to high, this Call will return the value 702.

SetInputFile (InputFile) Specify the Input-File to convert. If the file does not exist or has a wrong Format, this call will return the Value 704.

SetOutputFile (OutputFile) Specify the Output-File, where the Result of Converting is written to.

SetRealTime (FALSE or TRUE) Some Drivers can convert in Real-Time, but there is a little difference in the quality of converting. If it is not possible, the Converting will always be done in the normal-time of the Driver.

Stop () Aborts the Converting-Thread.